<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main"/>
    <g:set var="entityName"
           value="${message(code: 'territoryOpportunityWorkflow.label', default: 'TerritoryOpportunityWorkflow')}"/>
    <title>区域工作流详情</title>
</head>

<body>
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li>贷款管理系统</li>
                    <li><g:link controller="territory" action="show" id="${this.territoryOpportunityWorkflow?.territory?.id}">区域</g:link></li>
                    <li class="active">
                        <span>区域工作流详情</span>
                    </li>
                </ol>
            </div>

            <h2 class="font-light m-b-xs">
                区域工作流详情
            </h2>
        </div>
    </div>
</div>

<div class="content animate-panel">
    <div class="row">
        <div class="hpanel hblue">
            <div class="panel-heading">
                编辑区域工作流
            </div>

            <div class="panel-body form-horizontal">
                <g:if test="${flash.message}">
                    <div class="message" role="status">${flash.message}</div>
                </g:if>
                <g:hasErrors bean="${this.territoryOpportunityWorkflow}">
                    <ul class="errors" role="alert">
                        <g:eachError bean="${this.territoryOpportunityWorkflow}" var="error">
                            <li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message
                                    error="${error}"/></li>
                        </g:eachError>
                    </ul>
                </g:hasErrors>
                <div class="form-group">
                    <label class="col-md-3 control-label">工作流:</label>

                    <div class="col-md-3">
                        <g:textField class="form-control" name="workflow.id" required="required" id="workflow"
                                     value="${this.territoryOpportunityWorkflow?.workflow?.name}"></g:textField>
                    </div>
                </div>

                <div class="hr-line-dashed"></div>

                <div class="form-group">
                    <label class="col-md-3 control-label">区域</label>

                    <div class="col-md-3">
                        <g:textField class="form-control" name="territory.id" required="required" id="territory"
                                     value="${this.territoryOpportunityWorkflow?.territory?.name}"></g:textField>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
%{--<a href="#show-territoryOpportunityWorkflow" class="skip" tabindex="-1"><g:message code="default.link.skip.label"
                                                                                   default="Skip to content&hellip;"/></a>

<div class="nav" role="navigation">
    <ul>
        <li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
        <li><g:link class="list" action="index"><g:message code="default.list.label" args="[entityName]"/></g:link></li>
        <li><g:link class="create" action="create"><g:message code="default.new.label"
                                                              args="[entityName]"/></g:link></li>
    </ul>
</div>

<div id="show-territoryOpportunityWorkflow" class="content scaffold-show" role="main">
    <h1><g:message code="default.show.label" args="[entityName]"/></h1>
    <g:if test="${flash.message}">
        <div class="message" role="status">${flash.message}</div>
    </g:if>
    <f:display bean="territoryOpportunityWorkflow"/>
    <g:form resource="${this.territoryOpportunityWorkflow}" method="DELETE">
        <fieldset class="buttons">
            <g:link class="edit" action="edit" resource="${this.territoryOpportunityWorkflow}"><g:message
                    code="default.button.edit.label" default="Edit"/></g:link>
            <input class="delete" type="submit"
                   value="${message(code: 'default.button.delete.label', default: 'Delete')}"
                   onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');"/>
        </fieldset>
    </g:form>
</div>--}%
</body>
</html>
